home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 January: Mac OS SDK / Dev.CD Jan 98 SDK1.toast / Development Kits (Disc 1) / Interfaces&Libraries / Universal / Interfaces / RIncludes / Slots.r < prev    next >
Encoding:
Text File  |  1997-08-12  |  1.4 KB  |  48 lines  |  [TEXT/MPS ]

  1. /*
  2.      File:        Slots.r
  3.  
  4.      Contains:    Slot Manager Interfaces.
  5.  
  6.      Version:    Technology:    System 7.5
  7.                  Release:    Universal Interfaces 3.0.1
  8.  
  9.      Copyright:    © 1986-1993, 1995-1997 by Apple Computer, Inc., all rights reserved
  10.  
  11.      Bugs?:        Please include the the file and version information (from above) with
  12.                  the problem description.  Developers belonging to one of the Apple
  13.                  developer programs can submit bug reports to:
  14.  
  15.                      devsupport@apple.com
  16.  
  17. */
  18.  
  19. #ifndef __SLOTS_R__
  20. #define __SLOTS_R__
  21.  
  22. #ifndef __CONDITIONALMACROS_R__
  23. #include "ConditionalMacros.r"
  24. #endif
  25.  
  26.  
  27. /*----------------------------pslt • Nubus psuedo-slot mapping constants------------------*/
  28. #define    horizAscending        0            /* horizontal form factor, ascending slot order   */
  29. #define    horizDescending        1            /* horizontal form factor, descending slot order  */
  30. #define    vertAscending        2            /* vertical form factor, ascending slot order     */
  31. #define    vertDescending        3            /* vertical form factor, descending slot order    */
  32.  
  33.  
  34. /*----------------------------pslt • Nubus pseudo-slot mapping resource-------------------*/
  35. type 'pslt' {
  36.         integer = $$Countof(pSlotSpec);                            /* # of slots               */
  37.         integer;                                                /* Nubus orientation      */
  38.         longint;                                                /* psltFlags, reserved    */
  39.         wide array pSlotSpec {
  40.                 integer;                                        /* Nubus slot #              */
  41.                 integer;                                        /* pseudo slot #          */
  42.         };
  43. };
  44.  
  45.  
  46. #endif /* __SLOTS_R__ */
  47.  
  48.